import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const citic: AppRouteModule = {
  path: '/citic',
  name: 'Citic',
  component: LAYOUT,
  redirect: '/citic/orderPush',
  meta: {
    orderNo: 30,
    icon: 'ion:layers-outline',
    title: t('routes.document.citic.index'),
  },

  children: [
    {
      path: 'orderPush',
      name: 'OrderPush',
      component: () => import('/@/views/citic/order/index.vue'),
      meta: {
        title: t('routes.document.citic.orderPush'),
        ignoreKeepAlive: false,
      },
    }
  ],
};

export default citic;
